//
//  ViewForKVO.m
//  KVO
//
//  Created by 李广帅 on 16/11/28.
//  Copyright © 2016年 刘桂林. All rights reserved.
//

#import "ViewForKVO.h"
//数据存储模型
#import "modelForKVO.h"

@interface ViewForKVO ()

@end

@implementation ViewForKVO

- (instancetype)init
{
    self = [super init];
    if (self) {
    
        //创建UI控件
        [self createUI];
    }
    return self;
}
#pragma mark -创建UI控件-
- (void)createUI
{
    _label = [[UILabel alloc] initWithFrame:CGRectMake(100, 100, 200, 50)];
    _label.backgroundColor = [UIColor orangeColor];
    [self addSubview:_label];
}
@end
